package com.rfsp.mcp.service;

import com.rfsp.common.base.BaseService;
import com.rfsp.mcp.mapper.MiAccountMapper;
import com.rfsp.mcp.pojo.po.MiAccountPO;
import com.rfsp.mcp.pojo.vo.MiAccountVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 医保账户信息service
 */
@Service
public class AccountService extends BaseService<MiAccountPO> {

    @Autowired
    private MiAccountMapper miAccountMapper;

    public MiAccountVO findByPfmIdAndOrgNo(Long pfmId, String orgNo, Long orgId) {
        return miAccountMapper.findByPfmIdAndOrgNo(pfmId, orgNo, orgId);
    }
}
